package com.example.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author 27954
 * @Description TODO
 * @Date 2022/9/16 16:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UVo implements Serializable {
    @NotBlank(message = "用户名不能为空")
    private String nickname;
    @NotBlank(message = "密码不能为空")
    private String password;
}
